using System;

namespace Jalal.Library.Mail
{
    public struct NameWithEmail
    {
        private string _name;
        private string _emailAddress;

        public NameWithEmail(string name, string emailAddress)
        {
            this._name = name;
            this._emailAddress = emailAddress;
        }

        public string Name
        {
            get{ return this._name; }
            set{ this._name = value; }
        }

        public string EmailAddress
        {
            get{ return this._emailAddress; }
            set{ this._emailAddress = value; }
        }
    }
}